package com.fujica.invoicing.entity;

import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 销售详情(TSellDetail)实体类
 *
 * @author makejava
 * @since 2020-08-11 11:26:09
 */
@Table(name = "t_sell_detail")
public class TSellDetail implements Serializable {
    private static final long serialVersionUID = -84973797805458293L;
    /**
     * 销售单id
     */
    private Integer sellId;
    /**
     * 商品id
     */
    private Integer gId;
    /**
     * 商品名称
     */
    private String gName;
    /**
     * 商品单价
     */
    private BigDecimal gPrice;
    /**
     * 商品数量
     */
    private Integer gNum;


    public Integer getSellId() {
        return sellId;
    }

    public void setSellId(Integer sellId) {
        this.sellId = sellId;
    }

    public Integer getGId() {
        return gId;
    }

    public void setGId(Integer gId) {
        this.gId = gId;
    }

    public String getGName() {
        return gName;
    }

    public void setGName(String gName) {
        this.gName = gName;
    }

    public BigDecimal getGPrice() {
        return gPrice;
    }

    public void setGPrice(BigDecimal gPrice) {
        this.gPrice = gPrice;
    }

    public Integer getGNum() {
        return gNum;
    }

    public void setGNum(Integer gNum) {
        this.gNum = gNum;
    }

    public TSellDetail() {
    }

    public TSellDetail(Integer sellId, Integer gId, String gName, BigDecimal gPrice, Integer gNum) {
        this.sellId = sellId;
        this.gId = gId;
        this.gName = gName;
        this.gPrice = gPrice;
        this.gNum = gNum;
    }
}